﻿namespace Journeo_backend.Configuration
{
    public class ProxyPoolOptions
    {
        public const string ProxyPool = "ProxyPool";
        public List<ProxyConfig> Proxies { get; set; } = new List<ProxyConfig>();
        public int RetryCount { get; set; } = 3;
        public int TimeoutSeconds { get; set; } = 10;
    }

    public class ProxyConfig
    {
        public string Host { get; set; }
        public int Port { get; set; }
        public string Username { get; set; }
        public string Password { get; set; }
        public ProxyType Type { get; set; }
    }

    public enum ProxyType
    {
        HTTP,
        SOCKS5
    }
}
